Solaris 2.6 and large tables - Mailing list pgsql-admin

From Ivan Richwalski
Subject Solaris 2.6 and large tables
Date
Msg-id v04011701b208c8c70d13@[207.67.69.17]
Whole thread Raw
Responses Re: [ADMIN] Solaris 2.6 and large tables
List pgsql-admin
    I've been working with some really large tables in Postgres
( both 6.2.1 and in preparing to upgrade to 6.3.2 ) running on
Solaris 2.6 on an Ultra1.  When the amount of data in any one
table reaches 2Gig, the postgres client connection will just hang.
Any subsequent connections will hang until the first offending
process is killed, at which point other connections will complete
successfully.  Other queries will work unless one tries to access
the data that was added at the end of the table, at which point
it will hang until it is killed again.

    I have been able to work around the problem by compiling 6.3.2
with the Solaris options for using 64bit files.  To make the change,
I added the flags to the sparc_solaris-gcc template file, and changed
the couple of occurrences of "fseek" in src/backend/utils/sort/psort.c
to "fseeko" just incase.  It compiles, all of the regression tests
do the expected things, and the "table.1" file gets created when the
table exceeds the 2Gig mark.  Everything appears to be functioning
fine, and I was wondering if anyone else has had any experiences with
similar situations.


Ivan Richwalski
--
"Look, a huge distracty thing."            -- Tom Servo

pgsql-admin by date:

Previous
From: Jose David Martinez Cuevas
Date:
Subject: Re: [SQL] copy probs
Next
From: Bruce Momjian
Date:
Subject: Re: [ADMIN] Solaris 2.6 and large tables